package com.example.exercise.demo.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.exercise.demo.vo.AppPapersVO;
import com.example.exercise.demo.dao.entity.AppPapersEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* 
*/
public interface AppPapersDAO {

    List<AppPapersEntity> findByWhere(Page<?> page, @Param("param") AppPapersVO appPapersVO);

    AppPapersEntity findByKey(@Param("param") AppPapersVO appPapersVO);

    int insert(@Param("param") AppPapersEntity appPapersEntity);

    int updateByKey(@Param("param") AppPapersEntity appPapersEntity);

    int deleteByKey(@Param("param") AppPapersVO appPapersVO);

}